using MyPhotoIndex.Controls;
using System.Collections;
using System.Windows.Forms.Design;
using System;

namespace MyPhotoIndex.Controls
{
    partial class MyPhotoIndexThumbnailViewer
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            MyPhotoIndex.Utilities.LocalizedComponentResourceManager resources = new MyPhotoIndex.Utilities.LocalizedComponentResourceManager(typeof(MyPhotoIndexThumbnailViewer));
            this.vScrollBar1 = new MyPhotoIndex.Controls.MyPhotoIndexScrollBar();
            this.SuspendLayout();
            // 
            // vScrollBar1
            // 
            resources.ApplyResources(this.vScrollBar1, "vScrollBar1");
            this.vScrollBar1.LargeChange = 5;
            this.vScrollBar1.Maximum = 100;
            this.vScrollBar1.Minimum = 0;
            this.vScrollBar1.MinimumSize = new System.Drawing.Size(15, 40);
            this.vScrollBar1.Name = "vScrollBar1";
            this.vScrollBar1.SmallChange = 1;
            this.vScrollBar1.Value = 0;
            this.vScrollBar1.ValueChanged += new System.EventHandler(this.vScrollBar1_ValueChanged);
            // 
            // MyPhotoIndexThumbnailViewer
            // 
            this.AllowDrop = true;
            this.DragOver += new System.Windows.Forms.DragEventHandler(this.MyPhotoIndexThumbnailViewer_DragOver);
            this.DragDrop += new System.Windows.Forms.DragEventHandler(this.MyPhotoIndexThumbnailViewer_DragDrop);
            this.DragEnter += new System.Windows.Forms.DragEventHandler(this.ThumbnailViewer_DragEnter);
            this.MouseEnter += new System.EventHandler(this.MyPhotoIndexThumbnailViewer_MouseEnter);
            this.DragLeave += new System.EventHandler(this.ThumbnailViewer_DragLeave);
            this.ResumeLayout(false);

        }

        #endregion

        [NonSerializedAttribute]
        private MyPhotoIndexScrollBar vScrollBar1;
    }

    internal class MyPhotoIndexThumbnailViewerDesigner : ControlDesigner
    {
        public MyPhotoIndexThumbnailViewerDesigner()
        { }

        // clean up some unnecessary properties
        protected override void PostFilterProperties(IDictionary Properties)
        {
            Properties.Remove("AllowDrop");
            Properties.Remove("BackgroundImage");
            Properties.Remove("ContextMenu");
            Properties.Remove("FlatStyle");
            Properties.Remove("Image");
            Properties.Remove("ImageAlign");
            Properties.Remove("ImageIndex");
            Properties.Remove("ImageList");
            Properties.Remove("Text");
            Properties.Remove("TextAlign");
            Properties.Remove("BackColor");
            Properties.Remove("Font");
            Properties.Remove("ForeColor");
            Properties.Remove("Cursor");
        }
        protected override void PostFilterEvents(IDictionary events)
        {
            //actions
            events.Remove("MouseEnter");
            events.Remove("Click");
            events.Remove("DoubleClick");
            //appearence
            events.Remove("Paint");
            //behavior
            events.Remove("ChangeUICues");
            events.Remove("ImeModeChanged");
            events.Remove("QueryAccessibilityHelp");
            events.Remove("StyleChanged");
            events.Remove("SystemColorsChanged");
            //Drag Drop
            events.Remove("DragDrop");
            events.Remove("DragEnter");
            events.Remove("DragLeave");
            events.Remove("DragOver");
            events.Remove("GiveFeedback");
            events.Remove("QueryContinueDrag");
            events.Remove("DragDrop");
            //layout
            events.Remove("Layout");
            events.Remove("Move");
            events.Remove("Resize");
            //PropertyChanged
            events.Remove("BackColorChanged");
            events.Remove("BackgroundImageChanged");
            events.Remove("BindingContextChanged");
            events.Remove("CausesValidationChanged");
            events.Remove("CursorChanged");
            events.Remove("FontChanged");
            events.Remove("ForeColorChanged");
            events.Remove("RightToLeftChanged");
            events.Remove("SizeChanged");
            events.Remove("TextChanged");

            base.PostFilterEvents(events);
        }
    }
}
